package com.ruoyi.merchant.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备设置参数记录对象 t_base_device_exec
 * 
 * @author xin.jucheng
 * @date 2024-03-28
 */
public class BaseDeviceExec extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 设备标识码 */
    @Excel(name = "设备标识码")
    private String imie;

    /** 命令类型 1 黄键短信开关；2 红键短信开关 ； */
    @Excel(name = "命令类型 1 黄键短信开关；2 红键短信开关 ；")
    private Integer type;

    /** 执行状态 0 初始化 1 成功 2 失败 */
    @Excel(name = "执行状态 0 初始化 1 成功 2 失败")
    private Integer status;

    /** 任务id */
    @Excel(name = "任务id")
    private String taskId;

    /** 设备回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "设备回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 命令内容 */
    @Excel(name = "命令内容")
    private String content;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setImie(String imie) 
    {
        this.imie = imie;
    }

    public String getImie() 
    {
        return imie;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("imie", getImie())
            .append("type", getType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("taskId", getTaskId())
            .append("replyTime", getReplyTime())
            .append("updateTime", getUpdateTime())
            .append("content", getContent())
            .toString();
    }
}
